Module: MagnumPI
- Defined in:
- lib/magnum-pi.rb,
lib/magnum-pi/api.rb,
lib/magnum-pi/dsl.rb,
lib/magnum-pi/version.rb,
lib/magnum-pi/api/scheme.rb,
lib/magnum-pi/api/consumer.rb,
lib/magnum-pi/api/instance.rb,
lib/magnum-pi/api/resources.rb,
lib/magnum-pi/api/inheritance.rb
Defined Under Namespace
Modules: API
Classes: DSL
Constant Summary
collapse
- MAJOR =
0
- MINOR =
2
- TINY =
5
- VERSION =
[MAJOR, MINOR, TINY].join(".")
Class Method Summary
collapse
Class Method Details
.debug_output(bool = true) ⇒ Object
18
19
20
|
# File 'lib/magnum-pi.rb', line 18
def self.debug_output(bool = true)
@debug_output = bool
end
|
.debug_output? ⇒ Boolean
22
23
24
|
# File 'lib/magnum-pi.rb', line 22
def self.debug_output?
!!@debug_output
end
|
.extended(base) ⇒ Object
14
15
16
|
# File 'lib/magnum-pi.rb', line 14
def self.extended(base)
base.extend API
end
|