Class: Rasti::DB::NQL::Nodes::Constants::Base

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/rasti/db/nql/nodes/constants/base.rb

Direct Known Subclasses

Array, False, Float, Integer, LiteralString, String, Time, True

Instance Method Summary collapse

Instance Method Details

#typeObject



8
9
10
# File 'lib/rasti/db/nql/nodes/constants/base.rb', line 8

def type
  Inflecto.underscore(Inflecto.demodulize(self.class)).to_sym
end