module GClouder::Config::Arguments
Public Class Methods
arguments()
click to toggle source
# File lib/gclouder/config/arguments.rb, line 10 def self.arguments GClouder::ConfigLoader.load("../../assets/arguments") end
included(klass)
click to toggle source
# File lib/gclouder/config/arguments.rb, line 22 def self.included(klass) klass.extend Arguments end
load()
click to toggle source
# File lib/gclouder/config/arguments.rb, line 14 def self.load arguments end
permitted(section)
click to toggle source
# File lib/gclouder/config/arguments.rb, line 26 def self.permitted(section) GClouder::ConfigSection.find(section, arguments) end
required(section)
click to toggle source
# File lib/gclouder/config/arguments.rb, line 30 def self.required(section) GClouder::ConfigSection.find(section, arguments).delete_if { |key, values| ! values["required"] } end
Public Instance Methods
arguments()
click to toggle source
# File lib/gclouder/config/arguments.rb, line 18 def arguments Arguments.arguments end