lib/celerity/elements/link.rb in celerity-0.0.1 vs lib/celerity/elements/link.rb in celerity-0.0.2
- old
+ new
@@ -1,7 +1,7 @@
module Celerity
class Link < Element
- TAGS = ['a']
+ TAGS = [ Identifier.new('a') ]
ATTRIBUTES = BASE_ATTRIBUTES | [:charset, :type, :name, :href, :hreflang, :target, :rel, :rev, :accesskey, :shape, :coords, :tabindex, :onfocus, :onblur]
def click
assert_exists
@container.update_page @object.click
\ No newline at end of file