Sha256: 9e188532336a215e4a06eca6199a9cd0f87501de9d524b57e76e41e448c76229

Contents?: true

Size: 191 Bytes

Versions: 5

Compression:

Stored size: 191 Bytes

Contents

class SmsAero::FilledString < String
  extend SmsAero::Callable

  private

  def initialize(value)
    string = value.to_s
    raise "blank value" if string == ""
    super string
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sms_aero-0.2.0 lib/sms_aero/filled_string.rb
sms_aero-0.1.3 lib/sms_aero/filled_string.rb
sms_aero-0.1.2 lib/sms_aero/filled_string.rb
sms_aero-0.1.1 lib/sms_aero/filled_string.rb
sms_aero-0.1.0 lib/sms_aero/filled_string.rb