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.
470 471 472 473 |
# File 'lib/dang/parser.rb', line 470 def initialize(name, str) @name = name @str = str end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
475 476 477 |
# File 'lib/dang/parser.rb', line 475 def name @name end |
#str ⇒ Object (readonly)
Returns the value of attribute str.
475 476 477 |
# File 'lib/dang/parser.rb', line 475 def str @str end |