Sha256: 4c4f3469fdfa326acf0b131e0db99ef4cf9031c550a7ca3a960c2262c517a742
Contents?: true
Size: 333 Bytes
Versions: 20
Compression:
Stored size: 333 Bytes
Contents
class NilClass # Nil#status makes it possible to pass messages # through a "failure" chain. def status( status=nil ) if status @status = status self else @status end end # Check status. def status? return unless @status return false if @status.empty? return true end end
Version data entries
20 entries across 20 versions & 1 rubygems