class String
Public Instance Methods
__basetype()
click to toggle source
# File lib/mdbe/database_views/string.rb, line 2 def __basetype :string end
to_database_view(depth, ranges = {}, params = {})
click to toggle source
Calls superclass method
Object#to_database_view
# File lib/mdbe/database_views/string.rb, line 6 def to_database_view(depth, ranges = {}, params = {}) obj = super obj[:string] = self[0, 200] if (obj[:string].size < self.size) obj[:string] += "..." obj[:stringComplete] = false else obj[:stringComplete] = true end if (params[:fullString]) obj[:string] = self obj[:stringComplete] = true end return obj end