Sha256: 66d36b7d14b22c7780eb0fccfe05ec1aee079b02d940a1cbaf66ce8d448d9266

Contents?: true

Size: 552 Bytes

Versions: 1

Compression:

Stored size: 552 Bytes

Contents

module Legion
  module Extensions
    module Helpers
      module Lex
        include Legion::Extensions::Helpers::Core
        include Legion::Extensions::Helpers::Logger

        def self.included(base)
          base.send :extend, Legion::Extensions::Helpers::Core if base.class == Class
          base.send :extend, Legion::Extensions::Helpers::Logger if base.class == Class
          base.extend base if base.class == Module
        end

        def default_settings
          { logger: { level: 'info' } }
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
legionio-0.3.0 lib/legion/extensions/helpers/lex.rb