-
-
Save 3limin4t0r/05e375a29964fdd1b495478322a61e50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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