Sha256: ba08fa162c8d1386f8b984f312cb772f042dfae79add4448e90f18e659b4906d

Contents?: true

Size: 266 Bytes

Versions: 10

Compression:

Stored size: 266 Bytes

Contents

<% module_namespacing do -%>
# frozen_string_literal: true

class <%= class_name %>Beacon < Beaconable::BaseBeacon
  alias <%= file_name %> object
  alias <%= file_name %>_was object_was

  def call
    # Put your callbacks and side-effects here
  end
end
<% end -%>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
beaconable-0.3.4 lib/generators/beacon/templates/beacon.rb.tt
beaconable-0.3.3 lib/generators/beacon/templates/beacon.rb.tt
beaconable-0.3.2 lib/generators/beacon/templates/beacon.rb.tt
beaconable-0.3.1 lib/generators/beacon/templates/beacon.rb.tt
beaconable-0.2.3 lib/generators/beacon/templates/beacon.rb.tt
beaconable-0.2.2 lib/generators/beacon/templates/beacon.rb.tt
beaconable-0.2.1 lib/generators/beacon/templates/beacon.rb.tt
beaconable-0.2.0 lib/generators/beacon/templates/beacon.rb.tt
beaconable-0.1.2 lib/generators/beacon/templates/beacon.rb.tt
beaconable-0.1.1 lib/generators/beacon/templates/beacon.rb.tt