Sha256: 94489d773cf33814b2c1dd283b4ddd9a4eacf21ecca71593d9f3196c4dcdc6dd

Contents?: true

Size: 223 Bytes

Versions: 2

Compression:

Stored size: 223 Bytes

Contents

class CreateSprocket

  include Lev::Routine

protected

  def exec(number, text)
    sprocket = Sprocket.new(integer_gt_2: number, text_only_letters: text)
    sprocket.valid?

    transfer_errors_from(sprocket)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lev-1.0.1 spec/support/create_sprocket.rb
lev-1.0.0 spec/support/create_sprocket.rb