Sha256: f253c2466653d4bbf357ba595d85fd50b088559705fcdfb80e98d3663a74777c
Contents?: true
Size: 455 Bytes
Versions: 196
Compression:
Stored size: 455 Bytes
Contents
module Origen module Features class Feature attr_reader :name attr_reader :description def initialize(name, options = {}) @name = name @description = options[:description] end def describe return 'No description provided!' if @description == [] if @description.class == Array @description.join(' ') else @description end end end end end
Version data entries
196 entries across 196 versions & 1 rubygems