class RubyBreaker::TypeDefs::OptionalType

This class respresents an optional argument type

Attributes

type[RW]

This accessor sets/gets the inner type of this optional type.

Public Class Methods

new(type,*args) click to toggle source
Calls superclass method RubyBreaker::TypeDefs::Type::new
# File lib/rubybreaker/type/type.rb, line 192
def initialize(type,*args)
  super(*args)
  @type = type
end