lib/peeky/method_info.rb
# Name of method minus writer annotations
# Example
#   :writable_attribute=
#   # becomes
#   :writable_attribute
Name of method minus writer annotations
Example
:writable_attribute
becomes
:writable_attribute
Name of method minus writer annotations Example : writable_attribute becomes : writable_attribute
def clean_name
      @clean_name ||= begin
        n = name.to_s
        n.end_with?('=') ? n.delete_suffix('=').to_sym : name
      end
    end
def clean_name @clean_name ||= begin n = name . to_s n . end_with? ( '=' ) ? n . delete_suffix ( '=' ) . to_sym : name end end
Name of method minus writer annotations
Example
:writable_attribute
 becomes
:writable_attribute
Name of method minus writer annotations Example : writable_attribute becomes : writable_attribute