Class: WsdlMapper::Dom::Bounds

Inherits:
Object
  • Object
show all
Defined in:
lib/wsdl_mapper/dom/bounds.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Bounds) initialize(min: nil, max: nil, nillable: nil)

Returns a new instance of Bounds



6
7
8
# File 'lib/wsdl_mapper/dom/bounds.rb', line 6

def initialize(min: nil, max: nil, nillable: nil)
  @min, @max, @nillable = min, max, nillable
end

Instance Attribute Details

- (Object) max

Returns the value of attribute max



4
5
6
# File 'lib/wsdl_mapper/dom/bounds.rb', line 4

def max
  @max
end

- (Object) min

Returns the value of attribute min



4
5
6
# File 'lib/wsdl_mapper/dom/bounds.rb', line 4

def min
  @min
end

- (Object) nillable

Returns the value of attribute nillable



4
5
6
# File 'lib/wsdl_mapper/dom/bounds.rb', line 4

def nillable
  @nillable
end

Instance Method Details

- (Object) dup



10
11
12
# File 'lib/wsdl_mapper/dom/bounds.rb', line 10

def dup
  Bounds.new min: @min, max: @max, nillable: @nillable
end