Class: Dang::Parser::Literal

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(str) ⇒ Literal

Returns a new instance of Literal.



453
454
455
# File 'lib/dang/parser.rb', line 453

def initialize(str)
  @str = str
end

Instance Attribute Details

#strObject (readonly)

Returns the value of attribute str.



457
458
459
# File 'lib/dang/parser.rb', line 457

def str
  @str
end