Sha256: 046be083f6e7b58c0dca233d814fcde4ee0fdd397de18b5bf952f7e2eb856f30

Contents?: true

Size: 293 Bytes

Versions: 8

Compression:

Stored size: 293 Bytes

Contents

require 'hooks'

module Xcake
  class Project
    include Hooks
    include Hooks::InstanceHooks

    # Defines hook which is ran before project is saved.
    #
    define_hooks :before_save

    # Defines hook which is ran after project is saved.
    #
    define_hooks :after_save
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
xcake-0.13.0 lib/xcake/dsl/project/hooks.rb
xcake-0.12.1 lib/xcake/dsl/project/hooks.rb
xcake-0.12.0 lib/xcake/dsl/project/hooks.rb
xcake-0.11.0 lib/xcake/dsl/project/hooks.rb
xcake-0.10.0 lib/xcake/dsl/project/hooks.rb
xcake-0.9.4 lib/xcake/dsl/project/hooks.rb
xcake-0.9.3 lib/xcake/dsl/project/hooks.rb
xcake-0.9.2 lib/xcake/dsl/project/hooks.rb