lib/iterm2/protocol/file_sequence.rb
# Return the arguments to this escape sequence.
#
# @param [nil, Symbol] output
#   The output format to return the Hash for.
#
#   Set to `:terminal` to format for an escape sequence.
# @return [Hash]
Return the arguments to this escape sequence.
Return the arguments to this escape sequence .
def to_h(output=nil)
        result = {
          name: Base64.encode64(@path.to_s),
          size: @path.size
        }
        result[:inline] = output == :terminal ? (@inline ? 1 : 0) : @inline
        result
      end
def to_h ( output = nil ) result = { name : Base64 . encode64 ( @path . to_s ) , size : @path . size } result [ :inline ] = output == :terminal ? ( @inline ? 1 : 0 ) : @inline result end
Return the arguments to this escape sequence.
Return the arguments to this escape sequence .
None
Hash
output
output The output format to return the Hash for. Set to `:terminal` to format for an escape sequence.
output The output format to return the Hash for . Set to ` : terminal ` to format for an escape sequence .