Sha256: f1147c2ef057177f00181b9b2981a3856aea7edd9f10e5c4530be14c4c91cfd3
Contents?: true
Size: 679 Bytes
Versions: 24
Compression:
Stored size: 679 Bytes
Contents
class Rad::Conveyors::Workspace < OpenObject def params self[:params] || ::Rad::Conveyors::Params.new end def params? !!params end alias_method :set_without_params, :[]= def []= k, v if k.to_s == 'params' self.params = v else set_without_params k, v end end def params= v if v.is_a? ::Rad::Conveyors::Params set_without_params :params, v else set_without_params :params, ::Rad::Conveyors::Params.new(v) end end def inspect h = {} each{|k, v| h[k] = v} h['env'] = "..." if h.include? 'env' h['request'] = "..." if h.include? 'request' h.inspect end end
Version data entries
24 entries across 24 versions & 1 rubygems