Class: Xembly::Attr
- Inherits:
-
Object
- Object
- Xembly::Attr
- Defined in:
- lib/xembly/attr.rb
Overview
ATTR directive
Instance Method Summary collapse
- #exec(_, cursor) ⇒ Object
-
#initialize(name, value) ⇒ Attr
constructor
Ctor.
Constructor Details
#initialize(name, value) ⇒ Attr
Ctor.
name
-
Attribute name
val
-
Attribute value
31 32 33 34 |
# File 'lib/xembly/attr.rb', line 31 def initialize(name, value) @name = name @value = value end |