Sha256: 80986041b9eb05bd61a1823e45af60adc63c806ac5982cba0f3b770e4465953b

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 Bytes

Contents

# -*- coding: utf-8 -*-

module TurnipFormatter
  class Step
    attr_reader :name, :docs

    def initialize(description)
      step_name, keyword, docstring = description
      @name = keyword + step_name
      @docs = {}
      @docs[:extra_args] = docstring unless docstring.empty?
    end

    def attention?
      false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
turnip_formatter-0.0.1 lib/turnip_formatter/step.rb