Sha256: de270dd7c158cb7a72692436dc91d8bcb1c9ca11c2ec212070850a172c16774f

Contents?: true

Size: 160 Bytes

Versions: 2

Compression:

Stored size: 160 Bytes

Contents

# frozen_string_literal: true

class <%= class_name %> < ::ApplicationComponent
  # Your code goes here

  after_initialize do
    @time = ::Time.now
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
amber_component-0.0.4 lib/generators/templates/component.rb.erb
amber_component-0.0.3 lib/generators/templates/component.rb.erb