Class: Shep::StringBox

Inherits:
TypeBox show all
Defined in:
lib/shep/typeboxes.rb

Instance Method Summary collapse

Methods inherited from TypeBox

#==, #get, #get_for_json, #initialize, #inspect, #set, #set?, #set_from_json, #to_s, to_yard_s, #unset?

Constructor Details

This class inherits a constructor from Shep::TypeBox

Instance Method Details

#check(v) ⇒ Object



68
# File 'lib/shep/typeboxes.rb', line 68

def check(v) = assert_type(v, String)