Method: Clian::Config::Element.define_syntax
- Defined in:
- lib/clian/config.rb
.define_syntax(config) ⇒ Object
class General < Clian::Config::Element
define_syntax :client_id => String,
:client_secret => String,
:token_store => String,
:context_store => String,
:default_user => String
end # class General
68 69 70 71 72 73 |
# File 'lib/clian/config.rb', line 68 def self.define_syntax(config) @syntax = Syntax.new(config) @syntax.keyword_symbols.each do |sym| attr_reader sym end end |