Method: Calil::Library#inspect
- Defined in:
- lib/calil/library.rb
#inspect ⇒ Object
25 26 27 28 29 30 |
# File 'lib/calil/library.rb', line 25 def inspect attr_body = %w(systemid systemname libkey libid short formal url_pc address pref city post tel geocode category image).map do |method_name| eval("\"#{method_name}: '#{send(method_name)}'\"") end.join(", ") "#<Library #{attr_body}>" end |