Class Index [+]

Quicksearch

TaskJuggler::BooleanAttribute

Public Class Methods

new(property, type) click to toggle source
     # File lib/taskjuggler/Attributes.rb, line 113
113:     def initialize(property, type)
114:       super
115:     end
tjpId() click to toggle source
     # File lib/taskjuggler/Attributes.rb, line 117
117:     def BooleanAttribute::tjpId
118:       'boolean'
119:     end

Public Instance Methods

to_s(query = nil) click to toggle source
     # File lib/taskjuggler/Attributes.rb, line 121
121:     def to_s(query = nil)
122:       @value ? 'true' : 'false'
123:     end
to_tjp() click to toggle source
     # File lib/taskjuggler/Attributes.rb, line 125
125:     def to_tjp
126:       @type.id + ' ' + (@value ? 'yes' : 'no')
127:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.