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.



499
500
501
502
# File 'lib/dang/parser.rb', line 499

def initialize(name, str)
  @name = name
  @str = str
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



504
505
506
# File 'lib/dang/parser.rb', line 504

def name
  @name
end

#strObject (readonly)

Returns the value of attribute str.



504
505
506
# File 'lib/dang/parser.rb', line 504

def str
  @str
end