Module: JSONSelect::Ast::SimpleExpr

Defined in:
lib/json_select/ast/simple_expr.rb

Instance Method Summary collapse

Instance Method Details

#to_astObject



3
4
5
# File 'lib/json_select/ast/simple_expr.rb', line 3

def to_ast
  { :a => 0, :b => text_value.to_i }
end