Class: Jsup::Attribute
- Inherits:
-
Object
- Object
- Jsup::Attribute
- Defined in:
- lib/attribute.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ Attribute
constructor
A new instance of Attribute.
Constructor Details
#initialize(value) ⇒ Attribute
Returns a new instance of Attribute.
6 7 8 |
# File 'lib/attribute.rb', line 6 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
4 5 6 |
# File 'lib/attribute.rb', line 4 def value @value end |