Module: James
- Extended by:
- James
- Included in:
- James
- Defined in:
- lib/james-bond.rb,
lib/james/config.rb,
lib/james/reloader.rb
Defined Under Namespace
Classes: Bond, Config, Reloader
Instance Method Summary
collapse
Instance Method Details
#config(&block) ⇒ Object
23
24
25
26
27
|
# File 'lib/james-bond.rb', line 23
def config(&block)
@config ||= Config.new
@config.instance_eval(&block) if block
return @config
end
|
#say(*args) ⇒ Object
29
|
# File 'lib/james-bond.rb', line 29
def say(*args) shell.say(*args) end
|
#say_status(*args) ⇒ Object
30
|
# File 'lib/james-bond.rb', line 30
def say_status(*args) shell.say_status(*args) end
|