Sha256: a84107016929798061edf7749c7a98a10a29db94d87d78de7a0320956c2d93b6
Contents?: true
Size: 460 Bytes
Versions: 8
Compression:
Stored size: 460 Bytes
Contents
require_relative 'code_context' module Reek module Context # # A context wrapper for attribute definitions found in a syntax tree. # class AttributeContext < CodeContext def initialize(context, exp, send_expression) @send_expression = send_expression super context, exp end def full_comment send_expression.full_comment || '' end private_attr_reader :send_expression end end end
Version data entries
8 entries across 8 versions & 1 rubygems