Class: HappySystem::Axo

Inherits:
Liza::Controller show all
Defined in:
lib/happy_system/sub/axo/axo.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Liza::Controller

color, inherited, on_connected

Methods inherited from Liza::Unit

const_missing, division, part, system, #system, test_class

Instance Attribute Details

#envObject

Returns the value of attribute env.



8
9
10
# File 'lib/happy_system/sub/axo/axo.rb', line 8

def env
  @env
end

Class Method Details

.call(env) ⇒ Object



3
4
5
6
# File 'lib/happy_system/sub/axo/axo.rb', line 3

def self.call(env)
  log :low, "env.count is #{env.count}"
  new.tap { _1.env = env }.call(env[:args])
end