Sha256: e1c5868a73777760baaa247f7d9c12ffccbbdf05bc50ae13962365e2601eb1da
Contents?: true
Size: 585 Bytes
Versions: 7
Compression:
Stored size: 585 Bytes
Contents
module Picasa module Presenter class Base include Utils attr_reader :parsed_body def initialize(parsed_body) @parsed_body = parsed_body end def inspect inspection = methods_to_inspect.map do |method| value = send(method) value = value.nil? ? "nil" : value.inspect "#{method}: #{value}" end.join(", ") "#<#{self.class} #{inspection}>" end private def methods_to_inspect public_methods - Object.methods - [:parsed_body, :entries] end end end end
Version data entries
7 entries across 7 versions & 1 rubygems