class Imagen::Node::CMethod

Represents a Ruby class method

Public Instance Methods

build_from_ast(ast_node) click to toggle source
Calls superclass method Imagen::Node::Base#build_from_ast
# File lib/imagen/node.rb, line 144
def build_from_ast(ast_node)
  super
  tap { @name = ast_node.children[1].to_s }
end
human_name() click to toggle source
# File lib/imagen/node.rb, line 149
def human_name
  'class method'
end