Module: Rukawa::State

Defined in:
lib/rukawa/state.rb

Defined Under Namespace

Modules: Aborted, BaseExt, Bypassed, Error, Finished, Running, Skipped, Waiting

Class Method Summary collapse

Class Method Details

.get(name) ⇒ Object



2
3
4
# File 'lib/rukawa/state.rb', line 2

def self.get(name)
  const_get(name.to_s.split("_").map(&:capitalize).join)
end