class Lib::TL1::Message::Field::CommandVerb

Public Class Methods

new(field) click to toggle source
Calls superclass method Lib::TL1::Message::Field::Base::new
# File lib/lib/tl1/message/field/command_verb.rb, line 14
def initialize(field)
  raise ArgumentError, "Command can't be nil" if field.nil?

  super field.to_s.upcase
end