Class: Dang::Parser::Filter
- Inherits:
-
Object
- Object
- Dang::Parser::Filter
- Defined in:
- lib/dang/parser.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#str ⇒ Object
readonly
Returns the value of attribute str.
Instance Method Summary collapse
-
#initialize(name, str) ⇒ Filter
constructor
A new instance of Filter.
Constructor Details
#initialize(name, str) ⇒ Filter
Returns a new instance of Filter.
499 500 501 502 |
# File 'lib/dang/parser.rb', line 499 def initialize(name, str) @name = name @str = str end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
504 505 506 |
# File 'lib/dang/parser.rb', line 504 def name @name end |
#str ⇒ Object (readonly)
Returns the value of attribute str.
504 505 506 |
# File 'lib/dang/parser.rb', line 504 def str @str end |