Skip to content

Do not use method missing on tap-gen manifest #17

Description

@thinkerbot

By using method missing you open up subtle bugs:

    m.template_files do |source, target|
      m.file(target) {|io| io << File.read(source) }
    end

Does not work (registers template_files as an action) whereas this is correct:

    template_files do |source, target|
      m.file(target) {|io| io << File.read(source) }
    end

It would be preferable for the first to throw an error or something.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions