class Cfh::Person
Kisisel bilgilerin tutuldugu sinif
Attributes
date[RW]
name[RW]
no[RW]
surname[RW]
Public Class Methods
new(args = {})
click to toggle source
# File lib/cfh/person.rb, line 6 def initialize(args = {}) @no = args[:no] @surname = args[:surname] @name = args[:name] @date = args[:date] end
Public Instance Methods
hash()
click to toggle source
# File lib/cfh/person.rb, line 13 def hash { NO: @no, SURNAME: @surname, NAME: @name, DATE: @date } end
json()
click to toggle source
# File lib/cfh/person.rb, line 22 def json JSON.pretty_generate(hash) end