Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
config = {a: 1, b: 2}
class AccountReports
def initialize(config = {})
@config = config
end
def start
@config
end
end
account_reports = AccountReports.new(config)
account_reports.start
#=> {:a=>1, :b=>2}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.