class DrgDSL::Ast::Variable
“PDX”, “AGEYEARS”, …
Attributes
name[R]
Public Class Methods
new(name)
click to toggle source
# File lib/drgdsl/ast.rb, line 427 def initialize(name) @name = name.to_s.strip end
Public Instance Methods
hash()
click to toggle source
# File lib/drgdsl/ast.rb, line 435 def hash @hash ||= [type, name].hash end
to_hash()
click to toggle source
# File lib/drgdsl/ast.rb, line 431 def to_hash { name: name } end