Class: Delorean::Self

Inherits:
SNode
  • Object
show all
Defined in:
lib/delorean/nodes.rb

Overview

_ is self – a naive implementation of “self” for now.

Instance Method Summary collapse

Instance Method Details

#check(context) ⇒ Object



232
233
234
# File 'lib/delorean/nodes.rb', line 232

def check(context, *)
  []
end

#rewrite(context) ⇒ Object



236
237
238
# File 'lib/delorean/nodes.rb', line 236

def rewrite(context)
  "_sanitize_hash(_e)"
end