Class: HackTree::Node::Hack

Inherits:
Base
  • Object
show all
Defined in:
lib/hack_tree/node/hack.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#brief_desc, #full_desc, #name, #parent

Method Summary

Methods inherited from Base

#global_name, #initialize

Constructor Details

This class inherits a constructor from HackTree::Node::Base

Instance Attribute Details

#blockObject

The actual code block to execute.



7
8
9
# File 'lib/hack_tree/node/hack.rb', line 7

def block
  @block
end