Class: Convict::Cell
- Inherits:
-
Object
- Object
- Convict::Cell
- Defined in:
- lib/convict/cell.rb
Instance Method Summary collapse
-
#initialize(__CONVICT__, __CONVICT_FILE__, __GUARD__) ⇒ Cell
constructor
A new instance of Cell.
Constructor Details
#initialize(__CONVICT__, __CONVICT_FILE__, __GUARD__) ⇒ Cell
Returns a new instance of Cell.
3 4 5 6 7 8 9 10 |
# File 'lib/convict/cell.rb', line 3 def initialize(__CONVICT__, __CONVICT_FILE__, __GUARD__) $value = lambda do __GUARD__.enable do instance_eval """#{__CONVICT__} """, File.realpath(__CONVICT_FILE__), 1 end end.call end |