Sha256: 9c8a422f7f743afa647d50cab313e46f24d6ad62bacafb4dc252f40135d87600

Contents?: true

Size: 188 Bytes

Versions: 10

Compression:

Stored size: 188 Bytes

Contents

require "attentive/entity"

Attentive::Entity.define "core.number.positive", "{{number:core.number}}", published: false do |match|
  nomatch! if match["number"] <= 0
  match["number"]
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
attentive-0.3.9 lib/attentive/entities/core/number/positive.rb
attentive-0.3.8 lib/attentive/entities/core/number/positive.rb
attentive-0.3.7 lib/attentive/entities/core/number/positive.rb
attentive-0.3.6 lib/attentive/entities/core/number/positive.rb
attentive-0.3.5 lib/attentive/entities/core/number/positive.rb
attentive-0.3.4 lib/attentive/entities/core/number/positive.rb
attentive-0.3.3 lib/attentive/entities/core/number/positive.rb
attentive-0.3.2 lib/attentive/entities/core/number/positive.rb
attentive-0.3.1 lib/attentive/entities/core/number/positive.rb
attentive-0.3.0 lib/attentive/entities/core/number/positive.rb