Class: MountainGoat

Inherits:
Object
  • Object
show all
Defined in:
lib/mountain-goat.rb,
lib/mountain-goat/version.rb

Overview

$VERBOSE = nil Dir.each { |ext| load ext }

Constant Summary collapse

VERSION =
"1.0.5"

Class Method Summary collapse

Class Method Details

.add_meta_option(option, &block) ⇒ Object



35
36
37
38
39
# File 'lib/mountain-goat.rb', line 35

def self.add_meta_option(option, &block)
  @@meta_options = {} if !defined?(@@meta_options)
  @@meta_options ||= {}
  @@meta_options.merge!({ option => block })
end

.get_meta_optionsObject



41
42
43
44
# File 'lib/mountain-goat.rb', line 41

def self.get_meta_options
  return {} if !defined?(@@meta_options)
  @@meta_options || {}
end