Module: Innate::Optioned
- Included in:
- Adapter, Cache, HelpersHelper, LogHub, Response, Session, View, Ramaze::App, Ramaze::Helper::CSRF, Ramaze::Helper::Email
- Defined in:
- /home/manveru/github/ramaze/ramaze.net/tmp/git/innate/lib/innate/options/dsl.rb
Overview
extend your class with this
Defined Under Namespace
Modules: SingletonMethods
Class Method Summary (collapse)
Instance Method Summary (collapse)
-
- (Object) options
private
Class Method Details
+ (Object) included(into)
187 188 189 190 191 192 193 194 195 |
# File '/home/manveru/github/ramaze/ramaze.net/tmp/git/innate/lib/innate/options/dsl.rb', line 187 def self.included(into) into.extend(SingletonMethods) snaked = into.name.split('::').last snaked = snaked.gsub(/\B[A-Z][^A-Z]/, '_\&').downcase.gsub(' ', '_') = Innate..sub(snaked) into.instance_variable_set(:@options, ) end |
Instance Method Details
- (Object) options (private)
203 204 205 |
# File '/home/manveru/github/ramaze/ramaze.net/tmp/git/innate/lib/innate/options/dsl.rb', line 203 def self.class. end |