Class: Dang::Parser::Filter

Inherits:
Object
  • Object
show all
Defined in:
lib/dang/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name.



475
476
477
# File 'lib/dang/parser.rb', line 475

def name
  @name
end

#strObject (readonly)

Returns the value of attribute str.



475
476
477
# File 'lib/dang/parser.rb', line 475

def str
  @str
end