Class: Classmeta::Options
- Inherits:
-
Object
- Object
- Classmeta::Options
- Defined in:
- lib/classmeta/options.rb
Constant Summary collapse
Class Method Summary collapse
Class Method Details
.configure(hash) ⇒ Object
10 11 12 |
# File 'lib/classmeta/options.rb', line 10 def self.configure(hash) @@options = hash end |
.debugging? ⇒ Boolean
14 15 16 |
# File 'lib/classmeta/options.rb', line 14 def self.debugging? @@options[:debug] end |
.get_transformer(name) ⇒ Object
18 19 20 |
# File 'lib/classmeta/options.rb', line 18 def self.get_transformer(name) (@@options[:transformers])[name] end |
.output ⇒ Object
22 23 24 |
# File 'lib/classmeta/options.rb', line 22 def self.output puts "Classmeta::Options=#{@@options.inspect}" end |