Class: Danger::Helpers::MessageGroupsArrayHelper::FakeArray

Inherits:
Struct
  • Object
show all
Defined in:
lib/danger/helpers/message_groups_array_helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#countObject

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



6
7
8
# File 'lib/danger/helpers/message_groups_array_helper.rb', line 6

def count
  @count
end

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/danger/helpers/message_groups_array_helper.rb', line 7

def empty?
  count.zero?
end