Sha256: 110f5ce9bf664c89a03b3435211dec5705ec246aabea43c65ab51d1cd9bcd6dc
Contents?: true
Size: 443 Bytes
Versions: 3
Compression:
Stored size: 443 Bytes
Contents
module Snuffle class Summary include PoroPlus attr_accessor :class_name, :path_to_file, :cohorts, :latent_objects, :source attr_accessor :arg_clumps def has_results? self.cohorts.count != 0 || self.latent_objects.count != 0 || self.arg_clumps.count != 0 end def path_to_results self.path_to_file.split("/")[0..-2].join('/') end def filename path_to_file.split("/")[-1] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
snuffle-0.14.2 | lib/snuffle/summary.rb |
snuffle-0.14.1 | lib/snuffle/summary.rb |
snuffle-0.14.0 | lib/snuffle/summary.rb |