Class: Jabara::MySQL::Schema::Char
- Inherits:
-
Object
- Object
- Jabara::MySQL::Schema::Char
- Defined in:
- lib/jabara/mysql/schema.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(max: nil) ⇒ Char
constructor
A new instance of Char.
- #parse ⇒ Object
- #validate(repr) ⇒ Object
Constructor Details
#initialize(max: nil) ⇒ Char
Returns a new instance of Char.
15 16 17 |
# File 'lib/jabara/mysql/schema.rb', line 15 def initialize(max:nil) @max = max end |
Class Method Details
.tag ⇒ Object
11 12 13 |
# File 'lib/jabara/mysql/schema.rb', line 11 def self.tag :string end |
Instance Method Details
#parse ⇒ Object
19 20 21 22 |
# File 'lib/jabara/mysql/schema.rb', line 19 def parse # TODO # unquote and de-escape end |