Class: Groonga::Schema::UnknownOptions
- Defined in:
- lib/groonga/schema.rb
Overview
未知のオプションを指定したときに発生する。
Instance Attribute Summary collapse
-
#available_keys ⇒ Object
readonly
Returns the value of attribute available_keys.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#unknown_keys ⇒ Object
readonly
Returns the value of attribute unknown_keys.
Instance Method Summary collapse
-
#initialize(options, unknown_keys, available_keys) ⇒ UnknownOptions
constructor
A new instance of UnknownOptions.
Constructor Details
#initialize(options, unknown_keys, available_keys) ⇒ UnknownOptions
Returns a new instance of UnknownOptions.
114 115 116 117 118 119 120 121 122 |
# File 'lib/groonga/schema.rb', line 114 def initialize(, unknown_keys, available_keys) @options = @unknown_keys = unknown_keys @available_keys = available_keys = "unknown keys are specified: #{@unknown_keys.inspect}" << ": available keys: #{@available_keys.inspect}" << ": options: #{@options.inspect}" super() end |
Instance Attribute Details
#available_keys ⇒ Object (readonly)
Returns the value of attribute available_keys.
113 114 115 |
# File 'lib/groonga/schema.rb', line 113 def available_keys @available_keys end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
113 114 115 |
# File 'lib/groonga/schema.rb', line 113 def @options end |
#unknown_keys ⇒ Object (readonly)
Returns the value of attribute unknown_keys.
113 114 115 |
# File 'lib/groonga/schema.rb', line 113 def unknown_keys @unknown_keys end |