Sha256: 489393e151dc98decb200b6d77881d03b2bbc57ade462c84b975489dd28f6dd3

Contents?: true

Size: 72 Bytes

Versions: 10

Compression:

Stored size: 72 Bytes

Contents

class BooleanMetric < Metric

  def convert value
    !!value
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
techcor-0.0.10 lib/metrics/boolean_metric.rb
techcor-0.0.9 lib/metrics/boolean_metric.rb
techcor-0.0.8 lib/metrics/boolean_metric.rb
techcor-0.0.7 lib/metrics/boolean_metric.rb
techcor-0.0.6 lib/metrics/boolean_metric.rb
techcor-0.0.5 lib/metrics/boolean_metric.rb
techcor-0.0.4 lib/metrics/boolean_metric.rb
techcor-0.0.3 lib/metrics/boolean_metric.rb
techcor-0.0.2 lib/metrics/boolean_metric.rb
techcor-0.0.1 lib/metrics/boolean_metric.rb