Class: Wiris::Boolean

Inherits:
Object
  • Object
show all
Defined in:
lib/src-generic/Boolean.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(boolean) ⇒ Boolean

Returns a new instance of Boolean.



11
12
13
# File 'lib/src-generic/Boolean.rb', line 11

def initialize(boolean)
    @boolean = boolean
end

Class Method Details

.valueOf(boolean) ⇒ Object



15
16
17
# File 'lib/src-generic/Boolean.rb', line 15

def self.valueOf(boolean)
    return Boolean.new(boolean)
end

Instance Method Details

#booleanObject



8
9
10
# File 'lib/src-generic/Boolean.rb', line 8

def boolean
    @boolean
end

#boolean=(boolean) ⇒ Object



5
6
7
# File 'lib/src-generic/Boolean.rb', line 5

def boolean=(boolean)
@boolean=boolean
end

#booleanValueObject



19
20
21
# File 'lib/src-generic/Boolean.rb', line 19

def booleanValue()
    return boolean
end