Class: Kartograph::RootKey
- Inherits:
-
Object
- Object
- Kartograph::RootKey
- Defined in:
- lib/kartograph/root_key.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ RootKey
constructor
A new instance of RootKey.
- #scopes ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ RootKey
Returns a new instance of RootKey.
5 6 7 |
# File 'lib/kartograph/root_key.rb', line 5 def initialize( = {}) @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/kartograph/root_key.rb', line 3 def @options end |
Instance Method Details
#scopes ⇒ Object
9 10 11 |
# File 'lib/kartograph/root_key.rb', line 9 def scopes Array([:scopes]) || [] end |