Sha256: 0732e1c49f1c4b471d59515a6e66a63a9e6dc13d6fe80e8d42fdb20de1a1f533
Contents?: true
Size: 474 Bytes
Versions: 63
Compression:
Stored size: 474 Bytes
Contents
# frozen_string_literal: true module YARD::CodeObjects register_separator NSEP, :constant # A +ConstantObject+ represents a Ruby constant (not a module or class). # To access the constant's (source code) value, use {#value}. class ConstantObject < Base # The source code representing the constant's value # @return [String] the value the constant is set to attr_reader :value def value=(value) @value = format_source(value) end end end
Version data entries
63 entries across 62 versions & 9 rubygems