Sha256: 03d4f3973717cf4f96b287904dc44dc82e9c3be94eca2ec3f24eccd1acdb863f
Contents?: true
Size: 383 Bytes
Versions: 3
Compression:
Stored size: 383 Bytes
Contents
module Snuffle class Summary include PoroPlus attr_accessor :class_name, :path_to_file, :cohorts, :latent_objects, :source def has_results? self.cohorts.count != 0 || self.latent_objects.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.13.0 | lib/snuffle/summary.rb |
snuffle-0.12.2 | lib/snuffle/summary.rb |
snuffle-0.12.1 | lib/snuffle/summary.rb |