Module: Headshop
- Defined in:
- lib/headshop.rb
Defined Under Namespace
Modules: MetaTagHelper
Class Method Summary collapse
- .config_file=(config_file) ⇒ Object
- .read_config_file(config_file) ⇒ Object
- .setup {|_self| ... } ⇒ Object
Class Method Details
.config_file=(config_file) ⇒ Object
7 8 9 10 |
# File 'lib/headshop.rb', line 7 def self.config_file= config_file @@config_file = config_file read_config_file @@config_file end |
.read_config_file(config_file) ⇒ Object
12 13 14 |
# File 'lib/headshop.rb', line 12 def self.read_config_file config_file self. = YAML.load_file(config_file) end |
.setup {|_self| ... } ⇒ Object
16 17 18 |
# File 'lib/headshop.rb', line 16 def self.setup yield self end |