Class: GreenPepper::EmptyArrayType
- Defined in:
- lib/greenpepper/converter.rb
Class Method Summary collapse
Methods inherited from TypeBase
Class Method Details
.convert ⇒ Object
294 295 296 |
# File 'lib/greenpepper/converter.rb', line 294 def self.convert Proc.new{ |s| [] } end |
.format ⇒ Object
298 299 300 301 302 |
# File 'lib/greenpepper/converter.rb', line 298 def self.format Proc.new{ |a,expected_format| expected_format } end |
.regex ⇒ Object
290 291 292 |
# File 'lib/greenpepper/converter.rb', line 290 def self.regex /^\s*empty\s*$/i end |