Class: Rasti::DB::NQL::Nodes::Constants::Array

Inherits:
Base
  • Object
show all
Defined in:
lib/rasti/db/nql/nodes/constants/array.rb

Instance Method Summary collapse

Methods inherited from Base

#type

Instance Method Details

#valueObject



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

def value
  contents.is_a?(ArrayContent) ? contents.values : [contents.value]
end