HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
📌
hkob's Notion
/
NotionRubyMapping idea note
NotionRubyMapping idea note
/
Notion Ruby Mapping Public API Reference
Notion Ruby Mapping Public API Reference
/
⭕
EquationObject
⭕

EquationObject

👉
Links (Object base class)
⭕
CommentObject
⭕
FileObject
⭕
TextObject
⭕
EmojiObject
⭕
FileUploadObject
⭕
UserObject
⭕
EquationObject
⭕
MentionObject
Notion Ruby Mapping Public API Reference
Notion Ruby Mapping Public API Reference
ℹ️
↑ Table of Contents
1. Class methodsequation_object(extression_or_eo)2. Instance methodsexpression=(str) → str

1. Class methods

equation_object(extression_or_eo)

  • [PARAM] expression_or_eo
    • expression like as “y = f(x)” (String)
    • existing EquationObject
eo = EquationObject.equation_object "y = f(x)" => #<NotionRubyMapping::EquationObject:0x00000001093d3920 @expression="y = f(x)", @options={"plain_text"=>"y = f(x)"}, @type="equation", @will_update=false> eo2 = EquationObject.equation_object eo => #<NotionRubyMapping::EquationObject:0x00000001093d3920 @expression="y = f(x)", @options={"plain_text"=>"y = f(x)"}, @type="equation", @will_update=false> # eo and eo2 are equal object.
ℹ️
↑ Table of Contents

2. Instance methods

expression=(str) → str

  • [PARAM] str str like as “z = f(x, y)” (String)
expression= sets str to expression, and set will_update flag to true.
eo = EquationObject.equation_object "y=f(x)" => #<NotionRubyMapping::EquationObject:0x0000000107f85018 @expression="y=f(x)", @options={"plain_text"=>"y=f(x)"}, @type="equation", @will_update=false> eo.expression = "z = f(x, y)" => "z = f(x, y)" eo => #<NotionRubyMapping::EquationObject:0x0000000107f85018 @expression="z = f(x, y)", @options={"plain_text"=>"z = f(x, y)"}, @type="equation", @will_update=true>
ℹ️
↑ Table of Contents