summaryrefslogtreecommitdiff
path: root/lib/dslkeywords/keyword.rb
blob: 2dfff9156b4ca16ac9c29eba4ae9770269d712c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require_relative '../options'
require_relative '../log'

module RCM
  # The base class of all DSL key words
  class Keyword
    attr_reader :id

    include Options
    include Log

    def initialize(name) = @id = "#{self.class.to_s.sub('RCM::', '').downcase}('#{name}')"
    def to_s = @id
  end
end