Skip to content

Instantly share code, notes, and snippets.

dmitryck

View GitHub Profile
View sample_code.rb
class MirandaService::ActualData
attr_reader :contacts
attr_reader :new_data
attr_reader :renamed_data
attr_reader :old_data
attr_reader :actual_contacts
attr_reader :new_contacts
@dmitryck
dmitryck / hash_by_path.rb
Last active Feb 1, 2019
Path-like accessing to hash nodes
View hash_by_path.rb
TARGET = 4
INPUT = {
a: {
b: {
c: TARGET
}
}
}
You can’t perform that action at this time.