Skip to content

Concern not extended by ClassMethod #36

@qnighy

Description

@qnighy

Pointed out in #35.

require 'computed_model'

module UserConcern
  extend ActiveSupport::Concern
  include ComputedModel::Model

  computed def foo; end
end
Traceback (most recent call last):
	1: from test.rb:3:in `<main>'
test.rb:7:in `<module:UserConcern>': undefined method `computed' for UserConcern:Module (NoMethodError)
Did you mean?  Complex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions