Method: SexpExtensions#to_array
- Defined in:
- lib/wherelizer/sexp_extensions.rb
#to_array ⇒ Object
Turns a sexp “array” node into an actual Ruby array of just the elements
57 58 59 60 |
# File 'lib/wherelizer/sexp_extensions.rb', line 57 def to_array check_type :array self[1..-1] end |