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



4
5
6
# File 'lib/danger/helpers/message_groups_array_helper.rb', line 4

def count
  @count
end

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


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

def empty?
  count.zero?
end