Sha256: 811f635ef89b82b4397f3e8535b79d81a19d8d6e13d45f47856f7d135a0d4bd0

Contents?: true

Size: 122 Bytes

Versions: 3

Compression:

Stored size: 122 Bytes

Contents

require "attentive/entity"

Attentive::Entity.define :integer, %q{(?<integer>\d+)} do |match|
  match["integer"].to_i
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
attentive-0.1.1 lib/attentive/entities/integer.rb
attentive-0.1.0 lib/attentive/entities/integer.rb
attentive-0.1.0.beta1 lib/attentive/entities/integer.rb