Class: Reggae::Range

Inherits:
Struct
  • Object
show all
Includes:
Visitable
Defined in:
lib/reggae/ast.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Visitable

#accept

Instance Attribute Details

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



26
27
28
# File 'lib/reggae/ast.rb', line 26

def from
  @from
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



26
27
28
# File 'lib/reggae/ast.rb', line 26

def to
  @to
end