Class: BeanSprout::Account

Inherits:
PackagePrivate::PublicInterfaceBase show all
Defined in:
lib/bean_sprout/account.rb

Overview

Public interface.

Instance Attribute Summary

Attributes inherited from PackagePrivate::PublicInterfaceBase

#other_data

Instance Method Summary collapse

Methods inherited from PackagePrivate::PublicInterfaceBase

#initialize

Methods inherited from ForwardableDelegate

def_default_delegators, def_private_default_delegators, #initialize

Constructor Details

This class inherits a constructor from BeanSprout::PackagePrivate::PublicInterfaceBase

Instance Method Details

#entriesObject



36
37
38
39
40
41
42
43
44
# File 'lib/bean_sprout/account.rb', line 36

def entries
  sprouts.map do |sprout|
    if block_given?
      yield sprout.to_entry
    else
      sprout.to_entry
    end
  end
end