module StateHelper
StateHelper
. @abstract @module_description
State predicates.
Public Instance Methods
back_attached()
click to toggle source
back_attached
(). @description
A back attribute predicate.
@return [TrueClass, FalseClass]
True in the case back refers a Node instance. False otherwise.
# File lib/helpers/state_helper.rb, line 15 def back_attached() end
base()
click to toggle source
base(). @description
A back and front attribute predicate.
@return [TrueClass, FalseClass]
True in the case back refers nil and front refers a Node instance.
# File lib/helpers/state_helper.rb, line 47 def base() end
empty()
click to toggle source
empty(). @description
A data attribute predicate.
@return [TrueClass, FalseClass]
True in the case data refers nil. False otherwise.
# File lib/helpers/state_helper.rb, line 39 def empty() end
front_attached()
click to toggle source
front_attached
(). @description
A front attribute predicate.
@return [TrueClass, FalseClass]
True in the case front refers a Node instance. False otherwise.
# File lib/helpers/state_helper.rb, line 23 def front_attached() end
no_attachments()
click to toggle source
no_attachments
(). @description
A back and front attribute predicate.
@return [TrueClass, FalseClass]
True in the case back and front refer nil. False otherwise.
# File lib/helpers/state_helper.rb, line 31 def no_attachments() end
pioneer()
click to toggle source
pioneer(). @description
A back and front attribute predicate.
@return [TrueClass, FalseClass]
True in the case back refers a Node instance and front refers nil. False otherwise.
# File lib/helpers/state_helper.rb, line 56 def pioneer() end